package com.design.builder.computer;

/**
 * @author xiemiao
 * @description 客户端
 * @date 2023/08/15
 */
public class Client {
    public static void main(String[] args) {
        SalesMan salesMan = new SalesMan();
        HighPerformanceComputer highPerformanceComputer = new HighPerformanceComputer();
        salesMan.setComputerBuilder(highPerformanceComputer);
        salesMan.construct();
        Computer result = salesMan.getResult();
        System.out.println(result);
    }
}
